import 'package:furaha_mkopo/net/fm_base_net_domain.dart';
import 'package:furaha_mkopo/net/fm_http_request.dart';
import 'package:furaha_mkopo/net/fm_net_param_manager.dart';

class FMAuthConfirmInfoApi extends FMBaseNetDomain {
  String courtyard;
  String succeed;
  String planned;
  String listen;
  String card_type;
  FMAuthConfirmInfoApi(
      {required this.courtyard,
      required this.succeed,
      required this.planned,
      required this.listen,
      required this.card_type});

  @override
  String requestUrl() {
    return FMNetParamManager().getDefaultUrlPath("/directs/bold");
  }

  @override
  FMHttpMethodType methodType() {
    return FMHttpMethodType.upload;
  }

  @override
  Map<String, dynamic> requestParams() {
    return {
      "courtyard": courtyard, //出生日期
      "succeed": succeed, //证件号码
      "planned": planned, //姓名
      "listen": listen, //产品id
      "card_type": card_type
    };
  }
}
